﻿function DocumentTypeViewModel(model) {
    var selfContact = this;
    ko.mapping.fromJS(model, {}, selfContact);

    selfContact.Main = mainViewModel;

    selfContact.Main.Hashes.push("Info");
    selfContact.Main.Hashes.push("Create");
    selfContact.Main.Hashes.push("Update");
    selfContact.Main.Hashes.push("Delete");

    selfContact.Main.CurrentPage("Info");
    Sammy().run();

    selfContact.Create = function () {
    }
}